﻿<UserControl x:Class="GamePlugin.Controls.SearchInformation"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
             mc:Ignorable="d" 
             d:DesignHeight="478" d:DesignWidth="400" DataContextChanged="UserControl_DataContextChanged">
    <Grid Width ="397" Height="500">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="151*" />
            <ColumnDefinition Width="249" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="29" />
            <RowDefinition Height="*" />
            <RowDefinition Height="29" />
        </Grid.RowDefinitions>
        <Label Content="職業" Height="28" HorizontalAlignment="Left" Margin="35,1,0,0" Name="label1" VerticalAlignment="Top" Grid.Row="1" Width="61" />
        <Label Content="裝備類型" Height="28" HorizontalAlignment="Left" Margin="35,0,0,0" Name="label2" VerticalAlignment="Top" Width="61" Grid.Row="2" />
        <Label Content="物品類型" Height="28" HorizontalAlignment="Left" Margin="35,1,0,0" Name="label3" VerticalAlignment="Top" Width="61" Grid.Row="3" />
        <Label Content="物品等級" Height="28" HorizontalAlignment="Left" Margin="35,1,0,0" Name="label4" VerticalAlignment="Top" Width="61" Grid.Row="4" />
        <Label Content="物品稀有度" Height="28" HorizontalAlignment="Left" Margin="35,1,0,0" Name="label5" VerticalAlignment="Top" Width="85" Grid.Row="5" />
        <Label Content="物品名稱" Height="28" HorizontalAlignment="Left" Margin="35,0,0,0" Name="label6" VerticalAlignment="Top" Width="85" Grid.Row="6" />
        <Label Content="物品直購價" Height="28" HorizontalAlignment="Left" Margin="35,0,0,0" Name="label7" VerticalAlignment="Top" Width="85" Grid.Row="7" />
        <Label Content="物品競拍價" Height="28" HorizontalAlignment="Left" Margin="35,1,0,0" Name="label8" VerticalAlignment="Top" Width="85" Grid.Row="8" />
        <Label Content="物品屬性1" Height="28" HorizontalAlignment="Left" Margin="39,0,0,0" Name="label9" VerticalAlignment="Top" Width="85" Grid.Row="9" />
        <Label Content="物品屬性2" Height="28" HorizontalAlignment="Left" Margin="39,0,0,0" Name="label10" VerticalAlignment="Top" Width="85" Grid.Row="10" />
        <Label Content="物品屬性3" Height="28" HorizontalAlignment="Left" Margin="39,1,0,0" Name="label11" VerticalAlignment="Top" Width="85" Grid.Row="11" />
        <Label Content="物品屬性4" Height="28" HorizontalAlignment="Left" Margin="39,1,0,0" Name="label12" VerticalAlignment="Top" Width="85" Grid.Row="12" />
        <Label Content="物品屬性5" Height="28" HorizontalAlignment="Left" Margin="39,1,0,0" Name="label13" VerticalAlignment="Top" Width="85" Grid.Row="13" />
        <Label Content="物品屬性6" Height="28" HorizontalAlignment="Left" Margin="39,1,0,0" Name="label15" VerticalAlignment="Top" Width="85" Grid.Row="14" />
        <Label Content=" - " Grid.Column="1" Grid.Row="4" Height="28" HorizontalAlignment="Left" Margin="117,1,0,0" Name="label14" VerticalAlignment="Top" />
        
        <ComboBox Grid.Column="1" Grid.Row="1" Height="23" HorizontalAlignment="Left" Margin="67,3,0,0" Name="OccupationBox" VerticalAlignment="Top" Width="120" SelectedIndex="{Binding Path=Occupation}">
        </ComboBox>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="67,5,0,0" Name="EquipBox" SelectedIndex="{Binding Path=EquipKind}" VerticalAlignment="Top" Width="120" Grid.Column="1" Grid.Row="2">
        </ComboBox>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="67,6,0,0" Name="ItemBox" SelectedIndex="{Binding Path=ItemKind}" VerticalAlignment="Top" Width="120" Grid.Column="1" Grid.Row="3">
        </ComboBox>
        <TextBox Grid.Column="1" Grid.Row="4" Height="23" HorizontalAlignment="Left" Margin="70,7,0,0" Name="textBox1" VerticalAlignment="Top" Width="34" Text="60" IsReadOnly="True" Grid.RowSpan="2" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="67,6,0,0" Name="RarityBox" SelectedIndex="{Binding Path=ItemRarity}" VerticalAlignment="Top" Width="120" Grid.Column="1" Grid.Row="5">
        </ComboBox>
        <TextBox Height="23" HorizontalAlignment="Left" IsReadOnly="True" Margin="153,6,0,0" Name="textBox2" Text="60" VerticalAlignment="Top" Width="34" Grid.Column="1" Grid.Row="4" />
        <TextBox Grid.Column="1" Grid.Row="6" Height="23" Text="{Binding Path=ItemName}" HorizontalAlignment="Left" Margin="40,6,0,0" Name="textBox3" VerticalAlignment="Top" Width="174" />
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="0,5,0,0" Name="PropertyBox1" SelectedIndex="{Binding Path=Property1}" VerticalAlignment="Top" Width="138" Grid.Column="1" Grid.Row="9">
        </ComboBox>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="0,6,0,0" Name="PropertyBox2" SelectedIndex="{Binding Path=Property2}" VerticalAlignment="Top" Width="138" Grid.Column="1" Grid.Row="10" >
        </ComboBox>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="0,6,0,0" Name="PropertyBox3" SelectedIndex="{Binding Path=Property3}" VerticalAlignment="Top" Width="138" Grid.Column="1" Grid.Row="11">
        </ComboBox>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="0,6,0,0" Name="PropertyBox4" SelectedIndex="{Binding Path=Property4}" VerticalAlignment="Top" Width="138" Grid.Column="1" Grid.Row="12">
        </ComboBox>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="0,6,0,0" Name="PropertyBox5" SelectedIndex="{Binding Path=Property5}" VerticalAlignment="Top" Width="138" Grid.Column="1" Grid.Row="13">
        </ComboBox>
        <ComboBox Height="23" HorizontalAlignment="Left" Margin="0,6,0,0" Name="PropertyBox6" SelectedIndex="{Binding Path=Property6}" VerticalAlignment="Top" Width="138" Grid.Column="1" Grid.Row="14">
        </ComboBox>
        <xctk:DoubleUpDown Value="{Binding Path=Property1Value}" Increment="1" Maximum="10000" Minimum="0" Grid.Column="1" Margin="158,2,7,27" Grid.Row="9" Grid.RowSpan="2" />
        <xctk:DoubleUpDown Increment="1" Margin="158,0,7,0" Maximum="10000" Minimum="0" Value="{Binding Path=Property2Value}" Grid.Column="1" Grid.Row="10" />
        <xctk:DoubleUpDown Increment="1" Margin="158,0,7,0" Maximum="10000" Minimum="0" Value="{Binding Path=Property3Value}" Grid.Column="1" Grid.Row="11" />
        <xctk:DoubleUpDown Grid.RowSpan="2" Increment="1" Margin="158,1,7,28" Maximum="10000" Minimum="0" Value="{Binding Path=Property4Value}" Grid.Column="1" Grid.Row="12" />
        <xctk:DoubleUpDown Increment="1" Margin="158,1,7,28" Maximum="10000" Minimum="0" Value="{Binding Path=Property5Value}" Grid.Column="1" Grid.Row="13" Grid.RowSpan="2" />
        <xctk:DoubleUpDown Grid.RowSpan="2" Increment="1" Margin="158,28,7,1" Maximum="10000" Minimum="0" Value="{Binding Path=Property6Value}" Grid.Column="1" Grid.Row="13" />

        <xctk:IntegerUpDown Increment="1" Margin="40,0,35,0" Maximum="2000000000" Minimum="0" Value="{Binding Path=ItemBuyPrice}" Grid.Column="1" Grid.Row="7" />
        <xctk:IntegerUpDown Grid.RowSpan="2" Increment="1" Margin="40,1,35,28" Maximum="2000000000" Minimum="0" Value="{Binding Path=ItemAuctionPrice}" Grid.Column="1" Grid.Row="8" />
        <CheckBox Content="是否使用" Grid.Row="15" Height="16" HorizontalAlignment="Left" Margin="158,13,0,0" Name="checkBox1" VerticalAlignment="Top" Grid.Column="1" IsChecked="{Binding Path=IsAvailable}" />
    </Grid>
</UserControl>
